OpenPopupCallback

This callback is invoked when a new popup browser instance should be opened.

It is a good place where you can register all the required callbacks and event observers to the newly created popup.

Use the proceed method to notify the engine that callback has been completed and the engine can go on with loading content in the opened popup.

Important: the engine will be blocked until you return control from the callback.

Inheritors

Types

Link copied to clipboard
interface Params
The parameters of the OpenPopupCallback.
Link copied to clipboard
interface Response
A response of the OpenPopupCallback.

Functions

Link copied to clipboard
abstract fun on(params: P): R
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.